﻿@using CoreData
@model List<Album>
@if (Model != null && Model.Count() > 0)
{
    <div class="inner-module">
        <div class="module-head">
            <div class="view-more-block">
                <a href="@Url.Action("Index", "Album")" target="_blank">Xem thêm »</a>
            </div>
            <h4>
                Album tương tự</h4>
        </div>
        <ul class="small-list-album">
            @if (Model != null && Model.Count != 0)
            {
                foreach (var item in Model)
                {
                <li class="album-item">
                    <div class="inner-item">
                        <a href="@Url.Action("Detail", "Album", new { id = item.ID })">
                            <img src="/Media/Album/@item.Image" alt="@item.Image" />
                        </a>
                        <div class="album-description">
                            <p>
                                @item.Name</p>
                        </div>
                    </div>
                </li>
                }
            }
        </ul>
        <div class="clearfix">
        </div>
    </div>
}